package aos.server;

import org.apache.log4j.Logger;

import aos.server.robot.LocalRobotControllerProxy;
import aos.server.robot.RobotControllerProxy;
import aos.server.skype.SkypeServer;

/**
 * 
 * This class is the main class to run the server. The server may only be used on a computer attached to 
 * the robot.
 * 
 * @author Yannic
 *
 */
public class Server {
	
	static Logger logger = Logger.getLogger(Server.class);
	
	public static void main(String[] args) {
		RobotControllerProxy robotController = new LocalRobotControllerProxy();
		@SuppressWarnings("unused")
		SkypeServer server = new SkypeServer(robotController);
		logger.info("Server initialized. Waiting for client.");
	}

}
